package com.design.pattern.latest.principle.liskosubstitution;

public class Square implements Quadrangle {
    private long slideLength;

    @Override
    public long getWidth() {
        return slideLength;
    }

    @Override
    public long getLength() {
        return slideLength;
    }

    public long getSlideLength() {
        return slideLength;
    }

    public void setSlideLength(long slideLength) {
        this.slideLength = slideLength;
    }
}
